home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / comm / tcp / wu_ftpd_37_21.lha / wu-ftpd / src / smakefile < prev    next >
Makefile  |  1995-02-25  |  2KB  |  65 lines

  1. #
  2. # wu-ftpd makefile for SAS C 6.51
  3. #
  4.  
  5. OBJ1    = ftpd.o ftpcmd.o glob.o vers.o access.o extensions.o
  6. OBJ2    = realpath.o acl.o private.o authenticate.o conversions.o hostacc.o
  7. OBJ3    = getusershell.o authuser.o fnmatch.o ftw.o strsep.o
  8. OBJ4    = regexp.o regerror.o amiga.o unixdirs.o fixes.o amitcp.o
  9. OBJS    = ${OBJ1} ${OBJ2} ${OBJ3} ${OBJ4}
  10.  
  11. all: ftpd ftpcount ftpshut
  12.  
  13. ftpcount: ftpcount.o vers.o
  14.     ${CC} LINK TO $@ ftpcount.o vers.o
  15.  
  16. ftpshut: ftpshut.o vers.o
  17.     ${CC} LINK TO $@ ftpshut.o vers.o
  18.  
  19. ftpd: ${OBJS}
  20.     ${CC} LINK TO $@ ${OBJS}
  21.  
  22. ftpcmd.c: ftpcmd.y
  23.     bison -y ftpcmd.y -o ftpcmd.c
  24.  
  25. # The following dependency is needed because we
  26. # have to compile this module with PARM=BOTH in
  27. # order to replace the original SAS/C library
  28. # routines.
  29. amitcp.o: amitcp.c config.h
  30.     ${CC} PARM=BOTH amitcp.c
  31.  
  32. # Cleanup junk
  33. clean:
  34.     -delete ${OBJS} ftpcmd.c ftpd ftpd.lnk
  35.         -delete ftpshut ftpshut.lnk ftpshut.o
  36.         -delete ftpcount ftpcount.lnk ftpcount.o
  37.  
  38. # Bump revision number
  39. bumprev:
  40.     execute newvers.sh
  41.     smake all
  42.  
  43. # Dependencies
  44. authenticate.o: authenticate.c authenticate.h config.h
  45. conversions.o: conversions.c conversions.h extensions.h pathnames.h config.h
  46. hostacc.o: hostacc.c hostacc.h config.h
  47. extensions.o: extensions.c extensions.h pathnames.h config.h
  48. ftpd.o: ftpd.c extensions.h pathnames.h config.h
  49. ftpcmd.o: ftpcmd.c extensions.h pathnames.h config.h
  50. access.o: access.c extensions.h pathnames.h config.h
  51. acl.o: acl.c extensions.h pathnames.h config.h
  52. private.o: private.c extensions.h pathnames.h config.h
  53. ftpcount.o: ftpcount.c extensions.h pathnames.h config.h
  54. ftpshut.o: ftpshut.c pathnames.h config.h
  55. realpath.o: realpath.c config.h
  56. glob.o: glob.c config.h
  57. getusershell.o: getusershell.c config.h
  58. authuser.o: authuser.c config.h authuser.h
  59. fnmatch.o: fnmatch.c config.h
  60. ftw.o: ftw.c config.h ftw.h
  61. strsep.o: strsep.c
  62. regexp.o: regexp.c regexp.h regmagic.h
  63. amiga.o: amiga.c extensions.h config.h
  64. fixes.o: fixes.c config.h
  65.